package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * FileName: ToolEntity
 * Author: XJH
 * Date: 2020/6/2 9:29
 * Description:
 * History:
 */
public class ToolCheckEntity implements Serializable {

  private XMLotEntity XMLot;
  private XToolEntity XTool;

  public XMLotEntity getXMLot() {
    return XMLot == null ? new XMLotEntity() : XMLot;
  }

  public void setXMLot(XMLotEntity XMLot) {
    this.XMLot = XMLot;
  }

  public XToolEntity getXTool() {
    return XTool == null ? new XToolEntity() : XTool;
  }

  public void setXTool(XToolEntity XMLot) {
    this.XTool = XTool;
  }

  public static class  XMLotEntity implements Serializable{
    private String MLOTID;
    private String MAINQTY;
    private String MATERIALNAME;
    private String MATERIALTYPE;
    private String USEQTY;
    private String ISTIMESENSITIVE;
    private UDFEntity UDF;

    public UDFEntity getUDF() {
      return UDF == null ? new UDFEntity() : UDF;
    }

    public void setUDF(UDFEntity UDF) {
      this.UDF = UDF;
    }

    public String getMLOTID() {
      return MLOTID == null ? "" : MLOTID;
    }

    public void setMLOTID(String MLOTID) {
      this.MLOTID = MLOTID;
    }

    public String getISTIMESENSITIVE() {
      return ISTIMESENSITIVE == null ? "" : ISTIMESENSITIVE;
    }

    public void setISTIMESENSITIVE(String ISTIMESENSITIVE) {
      this.ISTIMESENSITIVE = ISTIMESENSITIVE;
    }

    public String getUSEQTY() {
      return USEQTY == null ? "" : USEQTY;
    }

    public void setUSEQTY(String USEQTY) {
      this.USEQTY = USEQTY;
    }

    public String getMATERIALNAME() {
      return MATERIALNAME == null ? "" : MATERIALNAME;
    }

    public void setMATERIALNAME(String MATERIALNAME) {
      this.MATERIALNAME = MATERIALNAME;
    }

    public String getMATERIALTYPE() {
      return MATERIALTYPE == null ? "" : MATERIALTYPE;
    }

    public void setMATERIALTYPE(String MATERIALTYPE) {
      this.MATERIALTYPE = MATERIALTYPE;
    }

    public String getMAINQTY() {
      return MAINQTY == null ? "" : MAINQTY;
    }

    public void setMAINQTY(String MAINQTY) {
      this.MAINQTY = MAINQTY;
    }

  }

  public static class UDFEntity implements Serializable{
    private String backCount;
    private String flag;
    private String matSpec;

    public String getbackCount() {
      return backCount == null ? "" : backCount;
    }

    public void setbackCount(String backCount) {
      this.backCount = backCount;
    }

    public String getflag() {
      return flag == null ? "" : flag;
    }

    public void setflag(String flag) {
      this.flag = flag;
    }

    public String getmatSpec() {
      return matSpec == null ? "" : matSpec;
    }

    public void setmatSpec(String matSpec) {
      this.matSpec = matSpec;
    }
  }

  public static class XToolEntity implements Serializable{
    private String TOOLID;
    private String TOOLSPEC;
    private String LIMITLIFE;
    private String EAPPARAM;
    private String LIMITWARNING;
    private String MAINQTY;

    public String getTOOLID() {
      return TOOLID == null ? "" : TOOLID;
    }

    public void setTOOLID(String TOOLID) {
      this.TOOLID = TOOLID;
    }

    public String getTOOLSPEC() {
      return TOOLSPEC == null ? "" : TOOLSPEC;
    }

    public void setTOOLSPEC(String TOOLSPEC) {
      this.TOOLSPEC = TOOLSPEC;
    }

    public String getLIMITLIFE() {
      return LIMITLIFE == null ? "" : LIMITLIFE;
    }

    public void setLIMITLIFE(String LIMITLIFE) {
      this.LIMITLIFE = LIMITLIFE;
    }

    public String getEAPPARAM() {
      return EAPPARAM == null ? "" : EAPPARAM;
    }

    public void setEAPPARAM(String EAPPARAM) {
      this.EAPPARAM = EAPPARAM;
    }

    public String getLIMITWARNING() {
      return LIMITWARNING == null ? "" : LIMITWARNING;
    }

    public void setLIMITWARNING(String LIMITWARNING) {
      this.LIMITWARNING = LIMITWARNING;
    }

    public String getMAINQTY() {
      return MAINQTY == null ? "" : MAINQTY;
    }

    public void setMAINQTY(String MAINQTY) {
      this.MAINQTY = MAINQTY;
    }
  }




}
